package mason.dp.abstractfactory.Component;

/**
 * 定义CPU的抽象类(属产品结构)
 * 
 * @author MasonAir
 *
 */
public abstract class CPU {
	String name;// 名称
	String frequency;// 主频
	String socket;// 接口

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFrequency() {
		return frequency;
	}

	public void setFrequency(String frequency) {
		this.frequency = frequency;
	}

	public String getSocket() {
		return socket;
	}

	public void setSocket(String socket) {
		this.socket = socket;
	}

}
